home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / UserAlert ƒ / UserAlert.make < prev    next >
Encoding:
Text File  |  1996-06-15  |  1.2 KB  |  48 lines  |  [TEXT/MPS ]

  1. #    File:        UserAlert.make
  2. #   Target:     UserAlert
  3. #   Sources:    UserAlert.a UserAlert.c UserAlert.r
  4. #   Created:    Wednesday, Nov. 11, 1992 6:42:32 PM
  5. #
  6. #    Makefile for an extension that adds an alert item to the
  7. #    desktop printer menu and also displays it during despooling.
  8. #    
  9. #    Dave Hersey
  10. #    Apple Developer Technical Support
  11. #
  12. #    12/01/92 - dmh - created.
  13. #    12/22/93 - dmh - updated for b3.
  14. #     5/03/94 - dmh - updated for f2.
  15. #     8/24/94 - dmh - finalized.
  16. #     6/14/96 - cn  - Updated to support MPW Pro #19.
  17. #
  18.  
  19. #    Alias to the path for the GX interface files.
  20.  
  21. INTPATH = "{CIncludes}"
  22.  
  23.  
  24. #    Creator type we'll use:
  25.  
  26. kCreator = 'DTPA'
  27.  
  28. OBJECTS = "UserAlert.a.o" "UserAlert.c.o"
  29.  
  30. AsmOptions        = -sym off -i {INTPATH} -case obj
  31. CompileOptions    = -opt full -d applec -b2 -r -i {INTPATH}
  32.  
  33. "UserAlert.a.o" ƒ "UserAlert.make" "UserAlert.a"
  34.      Asm {AsmOptions} "UserAlert.a"
  35. "UserAlert.c.o" ƒ "UserAlert.make" "UserAlert.c"
  36.      SC {CompileOptions} "UserAlert.c"
  37.  
  38. "UserAlert" ƒƒ "UserAlert.make" "UserAlert.r" {OBJECTS}
  39.     Link    -ra =resSysHeap,resPurgeable    ∂
  40.             -t 'pext'                        ∂
  41.             -c {kCreator}                    ∂
  42.             -rt pext=0                        ∂
  43.             -sg SEGS                        ∂
  44.             -m EntryPoint                    ∂
  45.             {OBJECTS}                        ∂
  46.             -o "UserAlert";
  47.     SetFile "UserAlert" -a iB;
  48.     Rez -i {INTPATH} -rd -o "UserAlert" "UserAlert.r" -append